Create large community list in XCO.
Example: "seq[5],action[permit],std-value[10:20:30;50:60:70]" (or) "seq[4],action[deny],ext-value[^65000:.*_]".
efa policy large-community-list create –-name lgcomm1 –-type standard –-rule "seq[5],action[permit],std-value[10:10:10;20:20:20]" +---------------------+---------+--------+-------------------+-----------+ | Community List Name | Seq num | Action | Std Value | Ext Value | +---------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 5 | permit | 10:10:10 20:20:20 | | +---------------------+---------+--------+-------------------+-----------+ Community List details +------------+--------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +------------+--------+--------+-----------------+ Device Results
efa policy large-community-list create –-name lgcommExt1 –-type extended –-rule "seq[5],action[permit],ext-value[_645XX:.*:.*]" +---------------------+---------+--------+-------------------+--------------- + | Community List Name | Seq num | Action | Std Value | Ext Value | +---------------------+---------+--------+-------------------+----------------+ | lgcommExt1 | 5 | permit | | _645XX:.*:.* | +---------------------+---------+--------+-------------------+--------------- + Community List details +------------+--------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +------------+--------+--------+-----------------+ Device Results
efa policy large-community-list create --name lgcomm1 --type standard --rule "seq[15],action[permit],std-value[10:10:10;20:20:20]" +---------------------------+---------+--------+-------------------+-----------+ | Large Community List Name | Seq num | Action | Std Value | Ext Value | +---------------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 15 | permit | 10:10:10 20:20:20 | | +---------------------------+---------+--------+-------------------+-----------+ Large Community List details +---------------+----------+--------------------------------------------------------------+-----------------+ | IP Address | Result | Reason | Rollback reason | +---------------+----------+--------------------------------------------------------------+-----------------+ | 10.139.44.159 | Failed | Policy lgcomm1 type large-community-list seq# 15 operation | | | | | failed on device 10.139.44.159 due to Reason: For seq | | | | | 15: netconf rpc [error] '%Error: Same filter is already | | | | | configured with sequence number 10.' | | +---------------+----------+--------------------------------------------------------------+-----------------+ | 10.139.44.160 | Rollback | | | +---------------+----------+--------------------------------------------------------------+-----------------+ Device Results